/*
 * Copyright (C) 2020 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.jc.camerascan.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @Package: com.jc.camerascan.entity
 * @Description: java类作用描述
 * @Author: xuchi
 * @CreateDate: 2020/7/26 6:41
 * @Version: 1.0
 */
public class LicensePlateResult implements Serializable {


    /**
     * words_result : [{"number":"川C66666","vertexes_location":[{"x":150,"y":128},{"x":287,"y":128},{"x":288,"y":163},{"x":151,"y":163}],"color":"blue","probability":[0.9000949263572693,0.9010012149810791,0.9010225534439087,0.9018650054931641,0.9011510014533997,0.9013855457305908,0.901107132434845]}]
     * log_id : 1287154932603944960
     */

    private long log_id;
    private List<WordsResultBean> words_result;

    public long getLog_id() {
        return log_id;
    }

    public void setLog_id(long log_id) {
        this.log_id = log_id;
    }

    public List<WordsResultBean> getWords_result() {
        return words_result;
    }

    public void setWords_result(List<WordsResultBean> words_result) {
        this.words_result = words_result;
    }

    public static class WordsResultBean {
        /**
         * number : 川C66666
         * vertexes_location : [{"x":150,"y":128},{"x":287,"y":128},{"x":288,"y":163},{"x":151,"y":163}]
         * color : blue
         * probability : [0.9000949263572693,0.9010012149810791,0.9010225534439087,0.9018650054931641,0.9011510014533997,0.9013855457305908,0.901107132434845]
         */

        private String number;
        private String color;
        private List<VertexesLocationBean> vertexes_location;
        private List<Double> probability;

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public List<VertexesLocationBean> getVertexes_location() {
            return vertexes_location;
        }

        public void setVertexes_location(List<VertexesLocationBean> vertexes_location) {
            this.vertexes_location = vertexes_location;
        }

        public List<Double> getProbability() {
            return probability;
        }

        public void setProbability(List<Double> probability) {
            this.probability = probability;
        }

        public static class VertexesLocationBean {
            /**
             * x : 150
             * y : 128
             */

            private int x;
            private int y;

            public int getX() {
                return x;
            }

            public void setX(int x) {
                this.x = x;
            }

            public int getY() {
                return y;
            }

            public void setY(int y) {
                this.y = y;
            }
        }
    }
}
